<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<form id="pagerForm" method="post" action="<%=basePath%>channelType_findChannelClass.action"> <!-- 此action指定的是排序、分页所提交的action -->
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
	<!-- 存放查询条件 -->
	<input type="hidden" name="chanClass.PClassName" value="${requestScope.chanClass.PClassName}">
	<input type="hidden" name="chanClass.PClassNumber" value="${requestScope.chanClass.PClassNumber}">
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="<%=basePath%>channelType_findChannelClass.action?orderField=P_CLASS_NUMBER&orderDirection=asc" method="post">
	<div class="searchBar">
				<div class="pageFormContent1">
					<p>
					<label>渠道类别名称：</label>
					<input type="text" name="chanClass.PClassName" value="${requestScope.chanClass.PClassName}" />
					</p>
					<p>
					<label>渠道类别编号：</label>
					<input type="text" name="chanClass.PClassNumber" value="${requestScope.chanClass.PClassNumber}" />
					</p>
				</div>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">&nbsp;&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;&nbsp;</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="<%=basePath%>channelType_generateNumber.action" target="dialog" title="添加渠道类别" width="450" height="250" rel="addChannel"><span>添加渠道类别</span></a></li>
			<li><a class="edit" href="<%=basePath%>channelType_channelClassDetail.action?classNumber={sid_user}" title="修改渠道类别" target="dialog" rel="modifyChannel"><span>修改渠道类别</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="163">
		<thead>
			<tr>
				<th width="150" orderField="P_CLASS_NUMBER" class="<%=request.getParameter("orderDirection")%>">渠道类别编码</th>
				<th width="200" orderField="P_CLASS_NAME" class="<%=request.getParameter("orderDirection")%>">渠道类别名称</th>
				<th width="250"orderField="P_CLASS_NOTE" class="<%=request.getParameter("orderDirection")%>">类别说明</th>
				<th width="130"orderField="P_CLASS_ADD_DATE" class="<%=request.getParameter("orderDirection")%>">添加日期</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${requestScope.chanClasses}" var="channelClass">
			<tr target="sid_user" rel="${channelClass.PClassNumber }">
				<td>${channelClass.PClassNumber }</td>
				<td>${channelClass.PClassName }</td>
				<td>${channelClass.PClassNote }</td>
				<td>${channelClass.PClassAddDate }</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
<!-- 	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="10">10</option>
				<option value="50">50</option>
				<option value="100">100</option>
			</select>
			<span>条，共${totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div>

	</div>
-->
</div>
